﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VehicleTrajectoryApp
{
    class GPS_Binary_Data
    {
        public int original_tomtom_vehicle_id;
        public int date_id;
        public int vehicle_id;
        public int origin_zone_id;
        public int dest_zone_id;
        public float departure_time_in_min;
        public float arrival_time_in_min;
        public float trip_time_in_min;
        public float total_distance_in_km;
        public int num_of_nodes;
        public float reserved_field1;
        public float reserved_field2;
        public float reserved_field3;

        public List<float> GPS_Node_Information_List;// x,y,time,segment distance
        // each segment has two nodes. we give 0 to the first node, and give segment distance in km to the second node 

        public GPS_Binary_Data(int original_tomtom_vehicle_id, int date_id, int vehicle_id, int origin_zone_id, int dest_zone_id, float departure_time_in_min, float arrival_time_in_min, float trip_time_in_min, float total_distance_in_km, int num_of_nodes, float reserved_field1, float reserved_field2, float reserved_field3, List<float> GPS_Node_Information_List)
        {
            this.original_tomtom_vehicle_id = original_tomtom_vehicle_id;
            this.date_id = date_id;
            this.vehicle_id = vehicle_id;
            this.origin_zone_id = origin_zone_id;
            this.dest_zone_id = dest_zone_id;
            this.departure_time_in_min = departure_time_in_min;
            this.arrival_time_in_min = arrival_time_in_min;
            this.trip_time_in_min = trip_time_in_min;
            this.total_distance_in_km = total_distance_in_km;
            this.num_of_nodes = num_of_nodes;
            this.reserved_field1 = reserved_field1;
            this.reserved_field2 = reserved_field2;
            this.reserved_field3 = reserved_field3;

            this.GPS_Node_Information_List = GPS_Node_Information_List;

        }
    }
}
